AmeliaBooking\Application\Services\Notification\AbstractNotificationService D

Total Complexity 222
Dependencies 15
Dependents 0
Total lines 1,265
Lines of code 784
Logical lines of code 372
Comment lines 282
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
sendNextDayReminderNotifications()
C
33 27 92
getUsersInfo()
B
36 19 87
sendAppointmentEditedNotifications()
B
39 18 66
sendAppointmentStatusNotifications()
B
40 18 57
sendBookingsNotifications()
B
40 17 55
sendAppointmentUpdatedNotifications()
B
43 16 49
sendBookingAddedNotifications()
A
42 13 53
sendScheduledNotifications()
A
40 12 60
pastMinimumTimeBeforeBooking()
A
49 12 30
sendAppointmentRescheduleNotifications()
A
46 10 43
checkShouldSend()
A
56 9 15
checkCustom()
S
59 8 14
sendCartNotifications()
S
51 6 30
sendPackageNotifications()
S
51 6 30
sendDefault()
S
59 7 13
sendCustomerBookingNotification()
S
52 5 24
sendProviderEventCancelledNotification()
S
55 5 21
getByNameAndType()
S
62 3 11
invalidateSentScheduledNotifications()
S
59 2 14
sendBirthdayGreetingNotifications()
S
100 1 0
getPreparedNotificationData()
S
82 1 3
getSend()
S
82 1 3
setSend()
S
81 1 3
addPreparedNotificationData()
S
80 1 3
sendPreparedNotifications()
S
100 1 0
sendNotification()
S
100 1 0
getById()
S
75 1 4
__construct()
S
77 1 4